package com.example._13redis_session.repository;

import com.example._13redis_session.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @auther 0785fanlei.
 * @date 2022/4/8 16:25
 */

public interface UserRepository extends JpaRepository<User,Long>
{
    public User findByUsernameAndPassword(String username,String password);
}
